package com.jlsoft;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@Slf4j
public class SSOServerAplication {

	public static void main(String[] args) {
		SpringApplication application = new SpringApplication(SSOServerAplication.class);
		application.setBannerMode(Banner.Mode.OFF);
		application.run(args);

	}

	@RequestMapping("/")
	public String sayMethod() {

		return "views/index";
	}
}
